
import 'package:flutter_enjoy_plus_01/constants/index.dart';
import '../utils/RequestDio.dart';

// 获取社区公告列表
Future getNoticeListAPI()  {
  return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
}

// 获取社区公告详情
Future getNoticeDetailAPI(String id)  {
  return requestDio.get('${ HTTP_PATH.ANNOUNCE_LIST }/$id');
}